import urllib
import re

css = urllib.urlopen('http://webresourcesdepot.com/wp-content/uploads/file/admin-template/css/all.css').read()

r = re.compile('url\(\.\.\/(img/[^)]*)')

links = r.findall(css)

for link in links:
    print 'http://webresourcesdepot.com/wp-content/uploads/file/admin-template/%s' % link
